@charset "UTF-8";

* {
    box-sizing: border-box;
}

body {
    color: #333;
    font: 14px/1.5 "Helvetica Neue", Helvetica, Arial, "Microsoft Yahei", "Hiragino Sans GB", "Heiti SC", "WenQuanYi Micro Hei", sans-serif;
}

ul,
h1,
h3,
h4,
p,
dl,
dd {
    padding: 0;
    margin: 0;
}

a {
    text-decoration: none;
    color: #333;
}

i {
    font-style: normal;
}

input {
    outline: none;
    padding: 0;
    border: none;
}

img {
    max-width: 100%;
    max-height: 100%;
    vertical-align: middle;
}

ul {
    list-style: none;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

.w {
    width: 1240px;
    margin: 0 auto;
}

.sprites {
    background-image: url(../images/sprites.png);
    background-size: 400px 400px;
    background-repeat: no-repeat;
}

/* 顶部导航 */
.top_nav {
    height: 53px;
    background-color: #333333;

}

.top_nav .w {
    display: flex;
    justify-content: flex-end;
}

.top_nav ul {
    width: 580px;
    line-height: 53px;
    display: flex;


}

.top_nav ul li a {
    padding-right: 10px;
    border-right: 2px solid #666;
}

.top_nav ul li a:hover {
    color: aquamarine;
}

.top_nav ul li {
    width: 87px;
    flex: 1;
}

.top_nav li:nth-child(7) a {
    display: flex;
    align-items: center;
    border: 0;
}

.top_nav li:nth-child(7) a::before {
    content: '';
    display: block;
    width: 18px;
    height: 18px;
    background: url(../images/sprites.png) no-repeat -158px -69px;
    background-size: 400px auto;
}

.top_nav ul a {
    font-size: 14px;
    color: aliceblue;
}

.header .w {
    display: flex;
    align-items: center;
}

/* 导航栏 */
.header .pic {
    width: 143px;
    height: 129px;
}

.header ul {
    display: flex;
    margin-left: 20px;
}

.header ul li {
    width: 80px;
    font-size: 16px;
    color: #333;
}

.header ul li a:hover {
    padding-bottom: 5px;
    border-bottom: 2px solid #61b79e;

}

/* 搜索框 */
.search {
    height: 29px;
    display: flex;
}

.search .sou input {
    height: 29px;
    /* flex: 1; */


}

.search .sou {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #ccc;
}

.search .sou span {
    width: 20px;
    height: 20px;
    margin-right: 5px;
    background: url(../images/sprites.png) no-repeat -78px -70px;
    background-size: 400px auto;
}

.search i {
    content: '';
    display: block;
    width: 28px;
    height: 28px;
    background: url(../images/sprites.png) no-repeat -118px -68px;
    background-size: 400px auto;
    position: relative;
}

.search i span {
    width: 20px;
    height: 14px;
    background-image: linear-gradient(264deg,
            #e05e2f 0%,
            #ea745e 95%),
        linear-gradient(#cb5245, #cb5245);
    text-align: center;
    border-radius: 6px;
    line-height: 14px;
    color: #fff;
    top: -6px;
    right: -6px;
    position: absolute;
}

/* 主要内容部分 */
.main {
    /* height: 1000px; */
    display: flex;
    margin-bottom: 87px;
}

.main .left {
    width: 227px;
    background-color: #ffffff;
    margin-right: 18px;
}

/* 左侧用户部分 */
.main .left .user {
    /* width: 100%; 
     */
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 47px 0;
    border-bottom: 1px solid #ccc;

}

.main .left .pic {
    width: 85px;
    height: 85px;
}

.main .left .name {
    font-family: PingFangSC-Medium;
    font-size: 18px;
    padding: 15px 0;
}

/* VIP部分 */
.main .left .user_vip {
    width: 93px;
    height: 26px;
    background-color: #ce4141;
    border-radius: 13px;
    line-height: 26px;
    color: #fff;
    display: flex;
    font-size: 14px;
    justify-content: center;
    align-items: center;
}

.main .left .user_vip img {
    width: 15px;
    height: 16px;
    margin-right: 3px;
}


/* 我的账户 左侧部分 */
.main .left .list {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-bottom: 1px solid #ccc;
}

.main .left .list span {
    font-size: 18px;
    color: #333333;
    margin: 33px 0;
}

.main .left .list ul {
    display: flex;
    flex-direction: column;
}

.main .left .list li {
    font-size: 14px;
    margin: 10px 0 20px;
}

.main .left .list li:last-child {
    margin-bottom: 30px;
}


.main .left .list li:hover {
    list-style-type: disc;
    color: #61b79e;
}

.main .left .list:nth-child(5) {
    padding-bottom: 20px;
    border: 0;
}

.main .right {
    flex: 1;
}

/*右侧会员中心  */
.main .vip_center {
    height: 132px;
    display: flex;
    background-color: #ffffff;
}

.main .vip_center .box {
    flex: 1;
    border-right: 1px solid #ccc;
}

.main .vip_center .box:nth-child(2) {
    border: 0;
}

.main .vip_center .box ul {
    display: flex;
}

/* 会员中心左侧*/
.vip_center .box ul li {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 100px;
}

.vip_center .box .num,
.vip_center .box .pic {
    width: 25px;
    height: 22px;
    font-size: 16px;
    margin-bottom: 10px;
}

/* 优惠卷数字 */
.vip_center .box .num {
    font-size: 25px;
    color: #e05e30;
}

/* 我的订单 */
.items,
.order {
    margin-top: 18px;
    padding: 20px 28px;
    background-color: #ffffff;
}

/* 我的订单导航栏 */
.order .order_nav,
.items .order_nav {
    height: 74px;
    display: flex;
    /* 一旦具有flex之后都具有felx盒子特点 */
    justify-content: space-between;
    align-items: center;
}

.items .order_nav a,
.order .order_nav a {
    display: flex;
    color: #ccc;
}

.items .order_nav a::after,
.order .order_nav a::after {
    content: '';
    width: 16px;
    height: 16px;
    margin-left: 10px;
    background: url(../images/sprites.png) no-repeat 0 -107px;
    background-size: 400px auto;
}

/* 商品详情 */
.goods .goods_details {
    height: 137px;
    background-color: #ffffff;
    border: solid 2px #f4f4f4;
    display: flex;
    margin-bottom: 20px;
}

.goods .goods_details .shangping {
    flex: 3;
    display: flex;
    align-items: center;
}

.goods .shangping .pic {
    width: 107px;
    height: 107px;
}

.goods .shangping{
    flex: 1;
    /* width: 300px; */
}
.goods .goods_info{
    flex: 1;
    width: 300px;
}
.goods .shangping .goods_name {
    flex: 1;
    font-size: 16px;
    color: #333333;
    padding-right: 120px;
    /* width: 190px; */
    margin-bottom: 5px;
    /*1. 先强制一行内显示文本*/
    white-space: nowrap;
    /* （ 默认 normal 自动换行） */
    /*2. 超出的部分隐藏*/
    overflow: hidden;
    /*3. 文字用省略号替代超出的部分*/
    text-overflow: ellipsis;
}

.goods .shangping .goods_info a {
    font-size: 14px;
    color: #ccc;
}

/* 商品支付状态 */
.goods_details .goods_state,
/* 商品支付方式 */
.goods_details .pay,
/* 商品价格 */
.goods_details .price {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-left: 1px solid #f4f4f4;
    font-size: 14px;
    font-family: PingFangSC-Regular;
    color: #333333;
}

/* 商品支付状态 */
.goods .goods_details .goods_state {
    font-family: PingFangSC-Regular;
    font-size: 14px;
    border: 0;
    color: #e05e30;
}

/* 商品价格 */
.goods_details .price .money {
    font-size: 14px;
    color: #9a2e1f;
}

.goods_details .pay a:nth-child(1) {
    width: 100px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    color: #f4f4f4;
    margin-bottom: 16px;
    background-color: #5eb69c;
    border-radius: 2px;
}

/* 收藏商品 */
.items ul {

    border-top: 1px solid #f4f4f4;
    padding-top: 20px;
    display: flex;
}

.items ul li {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.items ul li .pic {
    width: 160px;
    height: 160px;
    margin-left: 12px;
}

.items ul li p {
    font-size: 16px;
    padding-top: 20px;
    color: #333333;
}

.items ul li .price {
    font-size: 22px;
    color: #9a2e1f;
}

.items ul li .price span {
    font-size: 17px;

}

.items ul li:nth-child(2) {
    position: relative;

}

/* 折扣定位 */
.items ul li .dazhe {
    width: 28px;
    height: 50px;
    border-radius: 3px;
    position: absolute;
    top: 0;
    left: 0;
    text-align: center;
    line-height: 25px;
    font-size: 18px;
    color: #5eb69c;
    border: solid 1px #5eb69c;
}

.bottom_nav {
    background-color: #f6f6f6;
    height: 290px;
    border-top: 1px solid #ccc;
}

.bottom_nav ul {
    display: flex;
    margin-top: 20px;
    justify-content: space-evenly;
}

.bottom_nav ul li {
    width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-right: 3px solid #f2f2f2;
}

.bottom_nav ul li .box {
    display: flex;
}

.bottom_nav ul li a {
    font-size: 18px;
    margin-bottom: 38px;
    font-weight: normal;
    color: #999999;
}

.bottom_nav .left1,
.bottom_nav .right1,
.bottom_nav .left,
.bottom_nav .right {
    width: 93px;
    height: 93px;
    margin-left: 15px;
    background-color: #ffffff;
    border: solid 1px #ededed;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

}

.bottom_nav ul li .left i {
    background: url(../images/sprites.png) no-repeat -250px -70px;
    background-size: 400px auto;
}

.bottom_nav ul li .right i {
    background: url(../images/sprites.png) no-repeat -350px -70px;
    background-size: 400px auto;
}

.bottom_nav ul li .left1 i {
    background: url(../images/sprites.png) no-repeat -250px -14px;
    background-size: 400px auto;
}

.bottom_nav ul li .right1 i {
    background: url(../images/sprites.png) no-repeat -351px -16px;
    background-size: 400px auto;
}

/* 下载APP */
.bottom_nav .box .pic {
    width: 105px;
    height: 103px;
}

.bottom_nav .box .download {
    padding-top: 10px;
    margin-left: 15px;
    display: flex;
    flex-direction: column;
}

.bottom_nav .box .download span {
    font-size: 14px;
    color: #999999;
}

.bottom_nav .box .download a {
    margin-top: 10px;
    width: 105px;
    height: 35px;
    font-size: 14px;
    text-align: center;
    line-height: 35px;
    color: #fff;
    background-color: #5eb69c;
    border: solid 1px #ededed;
}

.bottom_nav .call .box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bottom_nav .call .box p:nth-child(1) {
    font-size: 22px;
    color: #666666;
}

.bottom_nav .call .box p:nth-child(2) {
    font-size: 15px;
    color: #999999;
}

/* 便民服务 */
.service {
    height: 173px;
    background-color: #333333;
    font-size: 28px;
    color: #ffffff;
    border-top: 1px solid #ccc;
}

.service ul {
    display: flex;

}

.service ul li {
    flex: 1;
    display: flex;
    height: 100px;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.service ul li:nth-child(1) .logo {
    background: url(../images/sprites.png) no-repeat 0 0;
    background-size: 400px auto;
}

.service ul li:nth-child(2) .logo {
    background: url(../images/sprites.png) no-repeat -62px 0;
    background-size: 400px auto;
}

.service ul li:nth-child(3) .logo {
    background: url(../images/sprites.png) no-repeat -130px 0;
    background-size: 400px auto;
}

/* 底部 */
.footer {
    height: 130px;
    background-color: #333333;
}

.footer .w {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #999999;
    justify-content: center;
}

.footer ul {
    display: flex;
    margin-bottom: 10px;
}

.footer li {
    width: 90px;
}

.footer li a {
    color: #999999;
    padding-left: 10px;
    border-left: 1px solid #999999;
}

.footer li:nth-child(1) a {
    border: 0;
}